package com.heima.user;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * user服务启动类
 *
 * @Author ilurfucy
 * @Date 2022/8/26     12:05
 * @Description user服务启动类
 **/

@Slf4j
@SpringBootApplication
@MapperScan("com.heima.user.mapper")
public class UserApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class,args);
        log.info("leadnews-user服务启动成功");
    }
}
